package com.toilet.easyvideofx.mapper;


import com.toilet.easyvideofx.domain.SysGlobalCache;
import org.apache.ibatis.annotations.Param;

/**
 * @author 11
 * @description 针对表【sys_global_cache】的数据库操作Mapper
 * @createDate 2023-12-16 22:31:17
 * @Entity com.toilet.easyvideofx.domain.SysGlobalCache
 */
public interface SysGlobalCacheMapper {

    int insertCache(@Param("cache") SysGlobalCache sysGlobalCache);

    int updateCacheByIndex(@Param("cache") SysGlobalCache sysGlobalCache);

    SysGlobalCache getCacheByIndex(@Param("cacheIndex") String cacheIndex);
}
